package com.pine.app.module.security.oauth.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @author xiaoyuan
 * @create 2020/3/20 17:21
 **/
@Configuration
@ConfigurationProperties(
        prefix = "pine.oauth"
)
@Setter
@Getter
public class ClientDetailsProperties {

    /**
     *  客户端信息按照内存加载模式的配置地址
     */
    private Map<String, ClientDetail> client = new LinkedHashMap();
}
